package com.fqgj.xjd.user.dao;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserAuthBankEntity;
import com.fqgj.xjd.user.entity.UserBaseEntity;

import java.util.List;

/**
* User: zhangxingyun
* Date: 2017-07-20
* Time: 18:38:52.930
*/

public interface UserAuthBankDao  extends BaseMapper<UserAuthBankEntity> {

    int deleteByUserCode(String userCode);

    UserAuthBankEntity selectUserBankByUserCode(String userCode);

    List<UserAuthBankEntity> selectAllUserBankByUserCode(String userCode);

    List<UserAuthBankEntity> selectUserBankByUserCodes(List<String> userCodes);

    String isBankBinded(String cardNo, Integer biz, String appCode);
    int updateByUserCode(UserAuthBankEntity userAuthBankEntity);
}